import service from '@/utils/request'

// @Tags SelectResearch
// @Summary 创建SelectResearch
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SelectResearch true "创建SelectResearch"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /selectResearch/createSelectResearch [post]
export const createSelectResearch = (data) => {
     return service({
         url: "/selectResearch/createSelectResearch",
         method: 'post',
         data
     })
 }


// @Tags SelectResearch
// @Summary 删除SelectResearch
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SelectResearch true "删除SelectResearch"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /selectResearch/deleteSelectResearch [delete]
 export const deleteSelectResearch = (data) => {
     return service({
         url: "/selectResearch/deleteSelectResearch",
         method: 'delete',
         data
     })
 }

// @Tags SelectResearch
// @Summary 删除SelectResearch
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除SelectResearch"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /selectResearch/deleteSelectResearch [delete]
 export const deleteSelectResearchByIds = (data) => {
     return service({
         url: "/selectResearch/deleteSelectResearchByIds",
         method: 'delete',
         data
     })
 }

// @Tags SelectResearch
// @Summary 更新SelectResearch
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SelectResearch true "更新SelectResearch"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /selectResearch/updateSelectResearch [put]
 export const updateSelectResearch = (data) => {
     return service({
         url: "/selectResearch/updateSelectResearch",
         method: 'put',
         data
     })
 }


// @Tags SelectResearch
// @Summary 用id查询SelectResearch
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.SelectResearch true "用id查询SelectResearch"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /selectResearch/findSelectResearch [get]
 export const findSelectResearch = (params) => {
     return service({
         url: "/selectResearch/findSelectResearch",
         method: 'get',
         params
     })
 }


// @Tags SelectResearch
// @Summary 分页获取SelectResearch列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取SelectResearch列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /selectResearch/getSelectResearchList [get]
 export const getSelectResearchList = (params) => {
     return service({
         url: "/selectResearch/getSelectResearchList",
         method: 'get',
         params
     })
 }